<?php
/**
 * 得到用户信息
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	user
 */
if (is_object($objWebInit) && !empty($_SESSION['user_id'])) {
	if(!isset($objuser)){
		include_once(__WEB_ROOT."/user/class/user.class.php");
		include_once(__WEB_ROOT."/user/config/var.inc.php");
		$objuser = new user();
		$objuser->arrGPdoDB = $arrGPdoDB;
		$objuser->db();
	}
	$objuser->tablename2= $arrGWeb['db_tablepre'].'user';	
	$arrUserInfo=current($objuser->getUser($_SESSION['user_id']));

	$arrMOutput['smarty_assign']['arrUserAddr'] = $arrUserInfo['deliver_info'];
	$arrMOutput['smarty_assign']['arrUserCAddr'] = $arrUserInfo['deliver_info'];
	$arrMOutput['smarty_assign']['arrUserInfo'] = $arrUserInfo;
}
?>